The Toronto Transit Commission (TTC) is Toronto’s public transportation system. It is a vast network that covers Toronto and the surrounding municipalities, which are collectively known as the Greater Toronto Area (GTA). The bus system is extensive, with routes that reach almost every corner of the city. The TTC operates subways, buses, and streetcars throughout the region.
The data for this analysis includes information on only buses.
The data set is skewed because it primarily includes data for late buses. This means that it does not provide a good representation of on-time buses. The data set contains data for the first six months of 2022, from January to June.
## Number of rows and columns: 27351 rows, 12 columns
## Number of unique BUS ROUTES: 224
Does the frequency of bus delays vary with the season?
The data supplied 15 incidents for why the bus was late. The data provided 15 reasons for the bus being late. The following is a table of the reasons, their frequency, and the percentage of occurrences:
| incident | count | percentage |
|---|---|---|
| Operations - Operator | 9554 | 34.93 |
| Mechanical | 7979 | 29.17 |
| Collision - TTC | 1823 | 6.67 |
| Security | 1593 | 5.82 |
| Diversion | 1259 | 4.60 |
| General Delay | 1229 | 4.49 |
| Emergency Services | 1114 | 4.07 |
| Utilized Off Route | 1080 | 3.95 |
| Cleaning - Unsanitary | 562 | 2.05 |
| Investigation | 409 | 1.50 |
| Road Blocked - NON-TTC Collision | 321 | 1.17 |
| Vision | 307 | 1.12 |
| Held By | 93 | 0.34 |
| Late Entering Service | 23 | 0.08 |
| Cleaning - Disinfection | 5 | 0.02 |
I studied all the reasons for bus delays, but only included the three most noteworthy: mechanical, general, and vision. I then plotted the data over time and found no correlation between the time of year and the type of delay.
Does time of day impact bus schedules?
In Toronto, buses operate 24 hours a day, 7 days a week. The bus schedule may vary depending on the day of the week and the time of year. One question that arises is whether the time of day affects the likelihood of a bus being late.
Does rush hour impact bus schedules?
During rush hour, which is typically between 7 a.m. and 9 a.m. and 5 p.m. and 7 p.m., are buses more likely to be late?
The bus is most likely to be late on which day of the week?
The bus is most likely to be late on Sunday, with an average delay of 25
minutes. The least likely day for the bus to be late is Tuesday, with an
average delay of only 17 minutes.
All Bus routes
There are 224 bus routes in this data set.